package module.service;

import common.bean.SearchPageResult;
import common.bean.SearchParameter;
import module.model.AssessmentDataModel;
import module.model.AssessmentStandardValueModel;

import java.util.List;

/**
 * 资料标准值
 */
public interface AssessmentStandardValueService {
    /**
     * 保存资料标准值，包括修改
     * @param assessmentStandardValueModel
     * @return
     */
    public AssessmentStandardValueModel saveAssessmentStandardValue(AssessmentStandardValueModel assessmentStandardValueModel);

    List<AssessmentStandardValueModel> getAssessmentStandardValueModelListBySearchParameter(SearchParameter searchParameter);

    /**
     * 根据资料ID取得标准值
     * @param dataId
     * @return
     */
    List<AssessmentStandardValueModel> getAssessmentStandardValueByDataId(Long dataId);

    void deleteAssessmentStandardValueModelById(Long standardValueId);

    public SearchPageResult<AssessmentStandardValueModel> getAssessmentStandardValueModelListPage(SearchParameter searchParameter);

    AssessmentStandardValueModel getAssessmentStandardValueModelByValueId(Long valueId);
}
